/* hero page */
/* Hero page */

.bg-layer-dmr {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -2;
}

.bg-layer-dmr video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dark-overlay-dmr {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.herodmr {
  position: relative;
  height: 100vh;
}

.hero-content-dmr {
  position: absolute;
  /* instead of relative */
  top: 90%;
  /* move to middle vertically */
  left: 50%;
  /* move to middle horizontally */
  transform: translate(-50%, -50%);
  /* perfect centering */
  z-index: 1;
  color: white;
  text-align: center;
}

.hero-content-dmr h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content-dmr p {
  font-size: 1.5rem;
}


.hero-content-dmr h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content-dmr p {
  font-size: 1.5rem;
}





/* sections */
.section-wrapper {
  padding: 2rem;
  text-align: center;
}

.section-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.product {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: center;
}

.product.reverse {
  direction: rtl;
}

.product.reverse>* {
  direction: ltr;
}

/* Loader wrapper for animated rings and image */
.loader-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}

.loader-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  z-index: 10;
  object-fit: contain;
  pointer-events: none;
  color: #201086;
}

/* Description Card */
.description-card {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  width: 600px;
  height: 390px;
}

.description-card h2 {
  text-align: center;
  margin-top: 50px;
}

.description-card h4 {
  text-align: center;
  text-transform: uppercase;
}

.description-card p {
  /* text-align: center; */
  margin-top: 10px;
}

.description-card:hover {
  box-shadow: 0px 14px 56px -11px #1875ff;
}

/* flipper description */
.description-card-container {
  /* width: 400px; */
  height: auto;
  margin: auto;
  cursor: pointer;
  transition: transform 0.6s ease;
}

/* .description-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
} */

.description-card-container.flipped .description-card .card-front {
  display: none;
}

.description-card-container.flipped .description-card .card-back {
  display: block;
}

.card-front,
.card-back {
  transition: opacity 0.4s ease;
}

.card-back {
  display: none;
}

/* Optional styles */
.card-back ul {
  padding-left: 20px;
  margin: 0;
}

.card-back li {
  margin-bottom: 6px;
  font-size: 14px;
}

.flip-hint {
  margin-top: 15px;
  font-size: 14px;
  color: #888;
  text-align: center;
  font-style: italic;
  transition: color 0.3s ease;
}

.description-card-container:hover .flip-hint {
  color: #444;
}

/* Warp Loader */
.item {
  position: relative;
  width: 350px;
  height: 350px;
}

.loader-pulse {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #a2a0a7;
  animation: load-pulse 0.85s infinite linear;
}

@keyframes load-pulse {
  0% {
    transform: scale(0.15);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.loader-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
  margin: 0 auto;
}

.loader-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
}

/* description with flip */
/* Description Card */
.description-card {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  width: 600px;
  height: 350px;
}

.description-card h2 {
  text-align: center;
  margin-top: 50px;
}

.description-card h4 {
  text-align: center;
  text-transform: uppercase;
}

.description-card p {
  /* text-align: center; */
  margin-top: 10px;
  color: #002967;
}

.description-card:hover {
  box-shadow: 0px 14px 56px -11px #1875ff;
}

/* flipper description */
.description-card-container {
  /* width: 400px; */
  height: auto;
  margin: auto;
  cursor: pointer;
  transition: transform 0.6s ease;
}

/* .description-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
} */

.description-card-container.flipped .description-card .card-front {
  display: none;
}

.description-card-container.flipped .description-card .card-back {
  display: block;
}

.card-front,
.card-back {
  transition: opacity 0.4s ease;
}

.card-back {
  display: none;
}

/* Optional styles */
.card-back ul {
  padding-left: 20px;
  margin: 0;
}

.card-back li {
  margin-bottom: 6px;
  font-size: 14px;
}

.flip-hint {
  margin-top: 15px;
  font-size: 14px;
  color: #888;
  text-align: center;
  font-style: italic;
  transition: color 0.3s ease;
}

.description-card-container:hover .flip-hint {
  color: #444;
}